package com.dusk.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message implements Serializable {
    private Integer id; //留言id
    private String userUuid;    //用户uuid
    private String userName; //用户登录名
    private String description; //留言内容
    private Date createTime;    //信息创建时间
    private Date updateTime;    //信息更新时间

    public Message( String userUuid, String userName, String description, Date createTime, Date updateTime) {
        this.userUuid = userUuid;
        this.userName = userName;
        this.description = description;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }
}
